package com.bjpowernode.springsecurity01.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bjpowernode.springsecurity01.domain.SysUser;

import java.util.List;

/**
* @author Administrator
* @description 针对表【sys_user】的数据库操作Mapper
* @createDate 2025-07-26 16:10:58
* @Entity com.bjpowernode.springsecurity01.domain.SysUser
*/
public interface SysUserMapper extends BaseMapper<SysUser> {

    SysUser findByUsername(String username);

    List<String> findPermissionsByUserId(Integer userId);

}




